package cate.common.table.task.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class TaskDailyBoxRow extends ERow {
    @NoteField(value = "宝箱ID")
    public int boxId;

    @NoteField(value = "活跃度")
    public long active;

    @NoteField(value = "奖励")
    public String rewardStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("宝箱ID", -1);
        this.boxId = xrw.getInteger("宝箱ID");
        this.active = xrw.getLong("活跃度", 0l);
        this.rewardStr = xrw.getString("奖励");
    }
}
